package com.zchat.api;


import org.apache.http.impl.client.DefaultHttpClient;

import com.zchat.api.http.AbstractHttpApi;
import com.zchat.api.http.HttpApi;
import com.zchat.api.http.ZChatHttpHandler;

/**
 * 请求网络资源,service调用或者是直接调用
 * @author Oliverzhu
 *	2012/6/14
 */
public class ZChatHttpApi {
	
	private HttpApi mHttpApi;
	
	private final String mApiBaseUrl;
	
	 private final DefaultHttpClient mHttpClient = AbstractHttpApi.createHttpClient();
	
	public ZChatHttpApi(String domain, String clientVersion, boolean useOAuth) {
        mApiBaseUrl = "http://" + domain;

        mHttpApi = new ZChatHttpHandler(mHttpClient,clientVersion);
    }
	
	
	
	

}
